home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / Other Langs / Tickle-4.0 (tcl) / library / help / tcl / math / incr < prev    next >
Encoding:
Text File  |  1993-10-26  |  557 b   |  17 lines  |  [TEXT/$Tcl]

  1.  
  2.           incr varName ?increment?
  3.  
  4.  
  5.      DESCRIPTION
  6.           Increments the value stored in the variable  whose  name  is
  7.           varName.   The value of the variable must be an integer.  If
  8.           increment is supplied then  its  value  (which  must  be  an
  9.           integer)  is added to the value of variable varName;  other-
  10.           wise 1 is added to varName.  The new value is  stored  as  a
  11.           decimal  string  in  variable  varName  and also returned as
  12.           result.
  13.  
  14.  
  15.      KEYWORDS
  16.           add, increment, variable, value
  17.